<template>
  <div @click="fn()">{{ txt }}</div>
</template>

<script>
export default {
  props: ['txt'],
  methods: {
    fn: function () {
      this.$emit('click', '');
    }
  }
}
</script>

<style>

</style>
